package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class OrdersReward implements Serializable {
    private Integer id;

    /**
     * 订单id
     *
     * @mbg.generated
     */
    private Integer orderId;

    /**
     * 用户id
     *
     * @mbg.generated
     */
    private Integer usersId;

    /**
     * 是否领取（0：未领取；1：领取过）
     *
     * @mbg.generated
     */
    private Integer receiveFlag;

    /**
     * 领取金额
     *
     * @mbg.generated
     */
    private BigDecimal receiveMoney;

    /**
     * 领取时间
     *
     * @mbg.generated
     */
    private Date receiveTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getUsersId() {
        return usersId;
    }

    public void setUsersId(Integer usersId) {
        this.usersId = usersId;
    }

    public Integer getReceiveFlag() {
        return receiveFlag;
    }

    public void setReceiveFlag(Integer receiveFlag) {
        this.receiveFlag = receiveFlag;
    }

    public BigDecimal getReceiveMoney() {
        return receiveMoney;
    }

    public void setReceiveMoney(BigDecimal receiveMoney) {
        this.receiveMoney = receiveMoney;
    }

    public Date getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(Date receiveTime) {
        this.receiveTime = receiveTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orderId=").append(orderId);
        sb.append(", usersId=").append(usersId);
        sb.append(", receiveFlag=").append(receiveFlag);
        sb.append(", receiveMoney=").append(receiveMoney);
        sb.append(", receiveTime=").append(receiveTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}